package com.construction.api.config.annotation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;


/**
 * 是否忽视GlobalResponseHandler的封装
 * @author dybin
 * @Date: 2021/7/1 23:04
 * See Also: asd
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE,ElementType.METHOD})
@Documented
public @interface IgnoreResponse {

    @AliasFor("ignore")
    boolean value() default true;

    @AliasFor("value")
    boolean ignore() default true;

}
